package com.ld.wms.business.locker.vo.resp;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 智能柜每个格子的信息
 * </p>
 *
 * @author wangfeng
 * @since 2025-03-28
 */
@Data
public class LockerGridRespVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "柜体编码，唯一")
    private String code;

    @Schema(description = "类型：0常温，1冷藏，2冷冻")
    private Integer type;

    @Schema(description = "行数,如果状态是1则不能编辑此属性")
    private Integer lockerRow;

    @Schema(description = "列数,如果状态是1则不能编辑此属性")
    private Integer lockerColumn;

    @Schema(description = "状态：0未配置，1已配置，2已满，3异常")
    private Integer status;

    @Schema(description = "温度")
    private String temperature;

    @Schema(description = "湿度")
    private String humidity;

    @Schema(description = "抽屉格子信息")
    private List<LockerGridHoleRespVo> lockerGridHoleRespVoList;

}
